-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SW-May2015 - updating IBrokers to IB clientVersion63 #9
Conversation
Thanks for the patch, but it's very hard to review the functional changes with all the changes to formatting, comments, and whitespace. Even ignoring whitespace changes, there are still a lot of comments removed, wrapped lines added, braces on same/new lines, etc. It will take me a long time to carefully review all the changes to look for the meaningful changes you made. |
Jashua, it is your decision if you want to incorporate these changes into On Sat, May 2, 2015 at 4:29 PM, Joshua Ulrich [email protected]
|
My comment has nothing to do with cosmetics. My point is that I cannot review your changes without spending a substantial amount of my time manually searching for the changes you made that would actually affect functionality. |
Hello Joshua. I am an happy user of IBrokers. A very valuable tool. Unfortunately the package has become unreliable since the IB changes mentioned in this post. twsConnect assigns random clientIds, and often $clientId provides a wrong code (i.e. the clientId assigned by IB is different from what is seems). I would love to contribute somehow to fix this but unfortunately IBrokers is well beyond my skills. I am wondering if you plan some fix anytime soon... Thanks |
The handshake between the server and client changed somewhere between version 47 and 63. Now it needs a START_API message after the client and server versions have been established. The server responds to the START_API message with 1. a managed account message, 2. a next valid ID, and 3. messages with the status of the data farms Soren did not store the server response, so this commit does not recreate his PR verbatim. One major difference: this change does not remove the ewrapper, so the next valid ID is still stored in the ewrapper environment instead of the global environment (as it does in Soren's PR). See #19, see #9.
Heads up about rib which is a wrapper around official tws-api client. Thus aims to be 100% feature complete and easy to maintain. |
Hi Joshua
I worked on incorporating my changes into the IBrokers package source code. The package builds ok with "R CMD build ...", but I have no time to do extensive (unit) testing at the moment. Please review the changes and modify as you see fit.
regards
Soren